---
const hackatons = await Astro.glob<{
    title: string
    subtitle: string
    date: string
}>("../../content/hackatons/*.json")
---

<section>
    <h2>Хакатоны</h2>
    {
        hackatons.map(({ title, subtitle, date }) => (
            <div class="education">
                <h3>{title}</h3>
                <p>{subtitle}</p>
                <p>{date}</p>
            </div>
        ))
    }
</section>
